import request from '@/config/axios'

// 积分商家列表
export const pageBusinessApi = (params) => {
  return request.get({ url: '/businessPointsMall/pageBusiness', params })
}

// 积分商家积分商品列表
export const pageProductsApi = (params) => {
  return request.get({ url: '/businessPointsMall/pageProducts', params })
}

// 用户积分明细
export const pageUserPointsDetailApi = (params) => {
  return request.get({ url: '/businessPointsMall/pageUserPointsDetail', params })
}

// 用户积分明细
export const adminPageUserPointsDetailApi = (params) => {
  return request.get({ url: '/admin/businessPointsMall/pageUserPointsDetail', params })
}
